@extends('host.custom.common.common')

@section('body')
    <style type="text/css">
        label.error {
            color: #ff500b!important
        }
    </style>
        <!-- top_test -->
<div id="top_test"></div>

<!-- web_logo_search -->
<div id="web_logo_search"></div>

<!-- comm_nav -->
<div id="comm_nav"></div>

<div class="com-w mt20">
    <div class="wrapper clearfix">
        <div class="w220 mr20 comm-left-menu">
            <div class="menu-top-title">采购商中心</div>
            <div id="leftmenuitems"></div>
        </div>

        <div class="w960 comm-main">
            <div class="main-release clearfix">
                <div class="main-release-nav">您当前的位置：首页 > 采购商中心</div>
                <div class="main-release-title">
                    <span class="icons"></span>
                    <span class="release-title-h3 f16">发布采购询盘</span>
                </div>
                <div class="main-release-from">
                    <form id="myform1" method="post" action="{{ route('account.enquiry.index') }}">
                        {{ csrf_field() }}
                        <p>
                            <label for="offer_1" class="pro-name">
                                <span class="b002">*</span>
                                采购产品标题：
                            </label>
                            <!-- id和name最好同时写上 -->
                            <input id="offer_1" name="title" value="{{ old('title') }}"/>
                            <span style="color: #ff500b" id="tip">2-16个字符，不允许填写电话和特殊符号</span>
                        </p>

                        <p>
                            <label for="category_1" class="pro-name">
                                <span class="b002">*</span>
                                大类：
                            </label>
                            <select id="category_1" name="primary_category_id" class=" ">
                            </select>
                        </p>

                        <p>
                            <label for="category_2" class="pro-name">
                                <span class="b002">*</span>
                                小类：
                            </label>
                            <select id="category_2" name="secondary_category_id" class=" ">
                            </select>
                        </p>

                        <p>
                            <label for="price" class="pro-name">
                                <span class="b002">*</span>
                                目标单价（元）：
                            </label>
                            <input id="price" name="price" type="text"
                                   class=""/>
                        </p>

                        <p>
                            <label for="Company" class="pro-name">
                                <span class="b002">*</span>
                                单位：
                            </label>
                            <input id="company" type="text" name="unit" class=""/>
                        </p>

                        <p>
                            <label for="number" class="pro-name">
                                <span class="b002">*</span>
                                数量：
                            </label>
                            <input id="number" type="text" name="amount" class=""/>
                        </p>

                        <p class="from1-select ">
                            <label for="adress" class="pro-name">
                                <span class="b002">*</span>
                                收货地区：
                            </label>
                            <select id="province" name="province_id" class="">
                                <option value="">请选择</option>
                            </select>
                            <select id="city" name="city_id" class="">
                                <option value="">请选择</option>
                            </select>
                            <select id="county" name="county_id" class="required">
                                <option value="">请选择</option>
                            </select>
                        </p>
                        <p style="margin-left: 315px;margin-top: 65px; margin-bottom: 328px;">
                            <input class="w212x48 bgr btr b-r fff" type="submit" value="提交发布"/>
                        </p>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- foot_nav -->
<div id="foot_nav"></div>

<div class="com-w mt20 mb20">
    <div class="wrapper clearfix">
        <div class="com-info-box w1200 h160 border-none tc">
            <div>
                <ul class="list-line w450 auto clearfix">
                    <li>
                        <a href="#">关于我们</a>
                    </li>
                    <li>|</li>
                    <li>
                        <a href="#">隐私条款</a>
                    </li>
                    <li>|</li>
                    <li>
                        <a href="#">友情链接</a>
                    </li>
                    <li>|</li>
                    <li>
                        <a href="#">联系我们</a>
                    </li>
                    <li>|</li>
                    <li>
                        <a href="#">合作伙伴</a>
                    </li>
                    <li>|</li>
                    <li>
                        <a href="#">人才招聘</a>
                    </li>
                </ul>
            </div>

            <p class="lh20">建议使用IE9.0以上版本, 1366 X 768 及以上分辨率</p>

            <p class="lh20">备案号 : 1234567890000</p>

            <p class="lh20">
                copyright 2007-2014 Coffee distribution center. All rights reserved.
            </p>

            <div class="w250 auto clearfix">
                <a href="#" class="foot-link-img">
                    <img src=""/>
                </a>
                <a href="#" class="foot-link-img">
                    <img src=""/>
                </a>
            </div>
        </div>
    </div>
</div>
<!-- JS -->

<script src="/assets/b2b/js/libs/jquery.validate.min.js"></script>
<script src="/assets/b2b/js/libs/messages_zh.js"></script>

<script src="/assets/b2b/js/libs/page/common.plugin.js"></script>

<script type="text/template" id="category-templ">
    <option value="">请选择</option>
    <% _.each(obj, function(item){ %>
    <option value="<%=item.code %>">
        <%=item.text %></option>
    <% }); %></script>
<script type="text/template" id="addr-option-templ">
    <option value="">请选择</option>
    <% _.each(obj, function(item){%>
    <option value="<%=item.code %>"><%=item.text %></option>
    <% }); %>
</script>
<script src="/assets/b2b/js/pageModules/buyer/B1.js"></script>
@stop